Skip to content

chore: prepare the repository for public contributors - #8

Merged
TudorAndrei merged 1 commit into
mainfrom
t3/2214290f
Nov 7, 2026
Merged

TudorAndrei merged 1 commit into
mainfrom
t3/2214290f

Conversation

@TudorAndrei

@TudorAndrei TudorAndrei commented Nov 7, 2026 •

Copy link
Copy Markdown
Contributor

Why

Prepare the public repository for outside users and contributors: a way to
make releases, a private channel for security reports, and contributor docs.

What changes

Releases move from a hand-pushed tag to a manual run of Release binaries
that uses Cocogitto.

flowchart LR
  subgraph Before
    A[Edit version by hand] --> B[Push v* tag] --> C[build] --> D[assemble] --> E[publish]
  end
  subgraph After
    R[Run workflow on main<br/>version: empty or X.Y.Z] --> V[version: cog bump<br/>Cargo.toml + Cargo.lock + CHANGELOG.md<br/>push commit + tag] --> C2[build tag] --> D2[assemble] --> E2[publish] --> H[homebrew]
    P[pull request] --> K[commits: cog check] & C3[build PR head]
  end
  classDef changed fill:#fde68a,stroke:#b45309
  class R,V,K changed
Loading
  • cog.toml: fix gives a patch, feat a minor, and ! or BREAKING CHANGE: a major. Only on main.
  • The tag trigger is gone. Tags pushed with GITHUB_TOKEN do not start workflows, so the build runs in the same workflow. With no public tag yet, the first run needs an explicit version (--auto would give 0.1.0).
  • Also: SECURITY.md (GitHub private vulnerability reporting), CONTRIBUTING.md, issue templates, the removal of brief.md, and a fix to the stale "new workflow" lines in the README and installation guide.
  • Left out on purpose: a test CI workflow, and the default hub and relay on tudorandrei.xyz.

Look at: .github/workflows/release.yml. build and assemble use !failure() && !cancelled() so pull requests still build when version is skipped.

Evidence

  • cog check (cog 6.5.0, the version the action installs): no errored commits in the whole history.
  • A real cog bump --version 0.3.1 in a temporary clone with a local bare remote made chore(version): v0.3.1, set the version in Cargo.toml and in all three Cargo.lock entries, wrote CHANGELOG.md, and pushed main and v0.3.1.
  • actionlint with shellcheck: clean. zizmor --offline: one medium finding, the same one as on main (the Homebrew tap checkout with a deploy key).
  • Unchecked: the workflow has not run on GitHub yet. This pull request runs the commits job and the PR build.

Merge danger

Door: two-way
Blast radius: releases

A failed release run after the version job leaves a pushed tag and version commit. packaging/README.md says how to recover. Nodes, the hub, and the relay are unchanged.

After merge

  1. Run Release binaries on main with version 0.3.0 (or 0.4.0) for the first release.

🤖 Generated with Claude Code


Autofix with [code]smith
Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.

Release with Cocogitto from a manual run of the release workflow: it
bumps the workspace version, writes CHANGELOG.md, tags the commit, and
builds and publishes that tag. Pull requests check Conventional Commits.

Add SECURITY.md, CONTRIBUTING.md, and issue templates, and remove the
original product brief.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@TudorAndrei
TudorAndrei merged commit 17e089a into main Nov 7, 2026
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant